/*
 * @Description: 个人工作纪实
 * @Author: oooh
 * @Date: 2024-04-23 17:55:21
 * @LastEditors: oooh
 * @LastEditTime: 2024-05-15 16:51:37
 * @FilePath: \Civil_Servant_Performance_PC\src\api\work\work-completion\individual.js
 */
import request from '@/utils/request'

// 工作纪实保存/提交
export function workSaveOrSubmit(data) {
  return request({
    url: '/api/personalWorkPlans/results',
    method: 'patch',
    data: data
  })
}

// 工作纪实列表
export function list(query) {
  return request({
    url: '/api/personalWorkPlans/results',
    method: 'get',
    params: query
  })
}
